<script type="text/javascript">
var process_request = "<?php echo $this->_var['lang']['process_request']; ?>";
</script>
<div id="append_parent"></div>
<table width="100%" border="0" cellpadding="0" cellspacing="3" id="page-header">
  <tr>
    <td id="cell-logo"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td rowspan="2"><a href="index.php" name="top"><img src="themes/default_old/images/logo.gif" alt="shopping mall name" width="130" height="56" border="0" /></a></td>
          <td align="right" valign="top" style="padding: 5px 10px">
          <?php $_from = $this->_var['navigator_list']['top']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'nav');$this->_foreach['nav_top_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav_top_list']['total'] > 0):
    foreach ($_from AS $this->_var['nav']):
        $this->_foreach['nav_top_list']['iteration']++;
?>
            <a href="<?php echo $this->_var['nav']['url']; ?>" <?php if ($this->_var['nav']['opennew'] == 1): ?> target="_blank" <?php endif; ?>><?php echo $this->_var['nav']['name']; ?></a>
            <?php if (! ($this->_foreach['nav_top_list']['iteration'] == $this->_foreach['nav_top_list']['total'])): ?>
            |
            <?php endif; ?>
          <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
          <?php if ($this->_var['ecs_session']['user_id']): ?>
          |&nbsp;<a href="#" onclick="pmwin('open')"><?php echo $this->_var['lang']['shot_message']; ?></a>&nbsp;
          <?php endif; ?>
          </td>
        </tr>
        <tr>
          <td align="center"></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td id="cell-nav"><ul>
        <li><a href="index.php"><?php echo $this->_var['lang']['home']; ?></a><?php if ($this->_var['navigator_list']['config']['index'] == 1): ?><?php endif; ?></li>
        <?php $_from = $this->_var['navigator_list']['middle']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'nav');$this->_foreach['nav_middle_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav_middle_list']['total'] > 0):
    foreach ($_from AS $this->_var['nav']):
        $this->_foreach['nav_middle_list']['iteration']++;
?>
            <?php if (($this->_foreach['nav_middle_list']['iteration'] == $this->_foreach['nav_middle_list']['total'])): ?>
                <li style="border-right:0px;"><a href="<?php echo $this->_var['nav']['url']; ?>" <?php if ($this->_var['nav']['opennew'] == 1): ?> target="_blank" <?php endif; ?>><?php echo $this->_var['nav']['name']; ?></a></li>
            <?php else: ?>
                <li><a href="<?php echo $this->_var['nav']['url']; ?>" <?php if ($this->_var['nav']['opennew'] == 1): ?> target="_blank" <?php endif; ?>><?php echo $this->_var['nav']['name']; ?></a></li>
            <?php endif; ?>
            <?php if ($this->_var['nav']['active'] == 1): ?>
            <?php endif; ?>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
      </ul></td>
  </tr>
</table>
<div id="ECS_CATALOG" class="catalog-div" style="display:none"
onMouseOver="if (this.style.display != 'block') this.style.display='block';"
onMouseOut="if (this.style.display != 'none') this.style.display = 'none';">
  <ul>
    <?php $this->assign('level','0'); ?>
    <?php $_from = $this->_var['catalog_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'cat');if (count($_from)):
    foreach ($_from AS $this->_var['cat']):
?>
    <?php if ($this->_var['level'] > $this->_var['cat']['level']): ?>
  </ul>
  <?php endif; ?>
  <?php if ($this->_var['level'] < $this->_var['cat']['level']): ?>
  <ul>
  <?php endif; ?>
    <li class="<?php if ($this->_var['cat']['level'] == 0): ?>top-cate<?php else: ?>snd-cate<?php endif; ?>"><a href="<?php echo $this->_var['cat']['url']; ?>" title="<?php if ($this->_var['cat']['cat_desc'] != ''): ?><?php echo $this->_var['cat']['cat_desc']; ?><?php endif; ?>"><?php echo $this->_var['cat']['cat_name']; ?></a></li>
    <?php $this->assign('level',$this->_var['cat']['level']); ?>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  </ul>
</div>
